import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';
// 系统管理
const system: AppRouteModule = {
  path: '/system',
  name: 'system',
  component: LAYOUT,
  redirect: '/system/analysis',
  meta: {
    orderNo: 10,
    icon: 'mdi:cog',
    title: t('routes.gateway.system.name'),
  },
  children: [
    {
      path: 'analysis',
      name: 'analysis',
      component: () => import('/@/views/system/analysis/index.vue'),
      meta: {
        title: '网关分析',
      },
    },
    {
      path: 'wgscreen',
      name: 'wgscreen',
      component: () => import('/@/views/largeData/screen.vue'),
      meta: {
        title: '网关看板',
      },
    },
    // {
    //   path: 'gatewayConfig',
    //   name: 'gatewayConfig',
    //   component: () => import('/@/views/system/config/index.vue'),
    //   meta: {
    //     title: t('routes.gateway.system.gatewayConfig'),
    //   },
    // },
  ],
};

export default system;
